﻿<UserControl x:Class="BuildRunner.ucWorking"
			 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
			 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
			 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
			 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
			 xmlns:local="clr-namespace:BuildRunner"
			 mc:Ignorable="d" 
			 d:DesignHeight="300" d:DesignWidth="300" SizeChanged="UserControl_SizeChanged">
	<UserControl.Resources>
		<Storyboard x:Key="rotateAnimation" FillBehavior="HoldEnd" >
			<DoubleAnimation
				Storyboard.TargetProperty="(LayoutTransform).(TransformGroup.Children)[0].(RotateTransform.Angle)"
				From="0" To="360" Duration="0:0:01" RepeatBehavior="Forever"/>
		</Storyboard>
	</UserControl.Resources>
	<Canvas Name="svg2985" Width="64" Height="64">
		<Canvas.LayoutTransform>
			<TransformGroup>
				<RotateTransform Angle="0" CenterX="32" CenterY="32"/>
				<ScaleTransform ScaleX="{Binding Scale, RelativeSource={RelativeSource AncestorType={x:Type UserControl}}}" ScaleY="{Binding Scale, RelativeSource={RelativeSource AncestorType={x:Type UserControl}}}"/>
				<TranslateTransform/>
				<SkewTransform/>
			</TransformGroup>
		</Canvas.LayoutTransform>
		<!--Canvas.RenderTransform>
					<RotateTransform x:Name="rotate" Angle="0" CenterX="32" CenterY="32" />
				</Canvas.RenderTransform>-->
		<Canvas.Style>
			<Style>
				<Style.Triggers>
					<DataTrigger Binding="{Binding Status, RelativeSource={RelativeSource AncestorType={x:Type UserControl} } }" Value="Busy">
						<DataTrigger.EnterActions>
							<BeginStoryboard x:Name="ani">
								<Storyboard>
									<StaticResource ResourceKey="rotateAnimation"/>
								</Storyboard>
							</BeginStoryboard>
						</DataTrigger.EnterActions>
					</DataTrigger>
					<DataTrigger Binding="{Binding Status, RelativeSource={RelativeSource AncestorType={x:Type UserControl} } }" Value="Comp">
						<DataTrigger.EnterActions>
							<StopStoryboard BeginStoryboardName="ani">
							</StopStoryboard>
						</DataTrigger.EnterActions>
					</DataTrigger>
				</Style.Triggers>
			</Style>
		</Canvas.Style>
		<!--Fill="#FF8E7EDF"-->
		<Path xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Visibility="Collapsed" Name="Busy" Fill="White"  StrokeThickness="1" Stroke="#FF0A4704" StrokeMiterLimit="4" StrokeLineJoin="Miter" StrokeStartLineCap="Round" StrokeEndLineCap="Round">
			<Path.Data>
				<PathGeometry Figures="m 30.468208 0.43870495 c -1.817702 0 -3.28697 1.46926705 -3.28697 3.28697005 l 0 5.0740606 C 24.440223 9.4139658 21.868164 10.504854 19.586103 11.990968 L 15.628975 8.0338396 c -1.285311 -1.28531 -3.373891 -1.28531 -4.6592 0 L 9.3422452 9.6613681 c -1.2853101 1.2853109 -1.2853101 3.3419779 0 4.6272879 l 3.8613928 3.861392 c -1.496868 2.131126 -2.632388 4.543551 -3.3507956 7.11645 l -6.1271675 0 c -1.817703 0 -3.28697004 1.469267 -3.28697004 3.286971 l 0 3.031671 c 0 1.817703 1.46926704 3.255057 3.28697004 3.255057 l 5.4889209 0 c 0.4356886 3.075699 1.4854792 5.95371 2.9997592 8.520592 l -4.0528661 4.052866 c -1.2853101 1.285311 -1.2853101 3.37389 0 4.659201 l 2.5210741 2.489162 c 1.285311 1.285309 3.341978 1.285309 4.627288 0 l 3.797568 -3.797567 c 2.401637 1.650423 5.138014 2.852475 8.073819 3.510356 l 0 5.999518 c 0 1.817702 1.469268 3.28697 3.28697 3.28697 l 3.031671 0 c 1.817704 0 3.286971 -1.469268 3.286971 -3.28697 l 0 -5.871869 c 3.252867 -0.637368 6.25638 -1.959235 8.871627 -3.797567 l 3.733743 3.733742 c 1.285311 1.28531 3.341978 1.28531 4.627288 0 l 1.659441 -1.627529 c 1.285311 -1.28531 1.285311 -3.37389 0 -4.6592 L 51.817557 44.19051 c 1.797443 -2.771508 3.058409 -5.934553 3.54227 -9.350313 l 4.94641 0 c 1.817704 0 3.255058 -1.437354 3.255058 -3.255057 l 0 -3.031671 c 0 -1.817704 -1.437354 -3.286971 -3.255058 -3.286971 l -5.584658 0 c -0.695322 -2.487821 -1.767103 -4.817751 -3.191232 -6.893064 l 3.510356 -3.510356 c 1.28531 -1.28531 1.28531 -3.37389 0 -4.6592 L 52.519628 7.7147163 c -1.285309 -1.2853101 -3.341977 -1.2853101 -4.627288 0 L 44.126685 11.480371 C 41.895705 10.162487 39.412757 9.1871763 36.78685 8.6720863 l 0 -4.9464113 c 0 -1.817703 -1.469267 -3.28697005 -3.286971 -3.28697005 z M 32 20 c 7.4825 0 11.998877 6.386829 12 12 0.0011 5.61317 -4.831287 12.068149 -12 12 C 24.831287 43.93186 20 37.486087 20 32 20 26.513913 24.5175 20 32 20 z" FillRule="nonzero"/>
			</Path.Data>
		</Path>
		<Canvas Name="check" Width="64" Height="64" Visibility="Collapsed">
			<Canvas.Resources/>
			<!--Unknown tag: sodipodi:namedview-->
			<!--Unknown tag: metadata-->
			<Canvas Name="layer3">
				<Rectangle xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Canvas.Left="0" Canvas.Top="0" Width="64" Height="64" RadiusY="9.3140593" RadiusX="9.3140593" Name="rect3780" StrokeThickness="0" Stroke="#FF000000" StrokeMiterLimit="4" StrokeLineJoin="Miter" StrokeStartLineCap="Round" StrokeEndLineCap="Round"/>
				<Path xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Name="path3004" Fill="White" StrokeThickness="37">
					<Path.Data>
						<PathGeometry Figures="M 48.799538 13.366445 25.162953 37.365378 13.951887 26.130108 6.5644816 33.763307 25.17154 52.5872 56.135436 20.899346 z" FillRule="NonZero"/>
					</Path.Data>
				</Path>
			</Canvas>
		</Canvas>
	</Canvas>
</UserControl>
